tag @s add hasPower
scoreboard players remove @e[type=marker,nbt={Tags:["battery_box"]},distance=..1,limit=1,sort=nearest] advm_power 1
scoreboard players remove @e[type=marker,nbt={Tags:["burn_electricity_producer"]},distance=..1,limit=1,sort=nearest] advm_power 1
scoreboard players remove @e[type=marker,nbt={Tags:["wind_electricity_producer"]},distance=..1,limit=1,sort=nearest] advm_power 1